{% extends 'base.html' %}
{% load crispy_forms_tags %}

{% block title %}
    <title>New post</title>
{% endblock title %}

<h1>New post</h1>
{% block content %}
    <form method="POST">
        {% csrf_token %}
        {{ form|crispy }}
        <button type="submit" class="btn btn-primary">Create</button>
    </form>
{% endblock %}
